<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fck" uri="http://java.fckeditor.net"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>修改经典菜肴</title>
	</head>

	<body>
		<form action="classicFood_updateClassicFood.action" method="post" enctype="multipart/form-data">
			<table>
				<tr>
					<td>
						名称：
						<input type="text" name="classicFood.classicFoodName"
							value="${classicFood.classicFoodName}" />
					</td>
				</tr>
				<tr>
					<td>
						<img alt="" src="${website}resource/${classicFood.imageMainUrl}">
						<input type="file" name="MainImageFile" />
					</td>
					
				</tr>
								<tr>
					<td>
						<img alt="" src="${website}resource/${classicFood.imageMinorUrl}">
						<input type="file" name="MinorImageFile" />
					</td>
					
				</tr>
				<tr>
					<td>
						描述：
						<fck:editor instanceName="classicFood.description"
							value="${classicFood.description}"></fck:editor>
					</td>
				</tr>
				<tr>
					<td>
						原料：
						<fck:editor instanceName="classicFood.material"
							value="${classicFood.material}"></fck:editor>
					</td>
				</tr>
				<tr>
					<td>
						特点：
						<fck:editor instanceName="classicFood.point"
							value="${classicFood.point}"></fck:editor>
					</td>
				</tr>
				<tr>
					<td>
						方法：
						<fck:editor instanceName="classicFood.makeMethod"
							value="${classicFood.makeMethod}"></fck:editor>
					</td>
				</tr>
				<tr>
					<td>
						吃法：
						<fck:editor instanceName="classicFood.eatMethod"
							value="${classicFood.eatMethod}"></fck:editor>
					</td>
				</tr>
				<tr>
					<td>
						<input type="text" value="${classicFood.isShowInMain}" name="classicFood.isShowInMain" /> 
					</td>
				</tr>
				<input type="hidden" value="${classicFood.classicFoodId}" name="classicFood.classicFoodId" />
				<tr>
					<td>
						<input type="submit" value="提交"/>
						<input type="reset" value="重置"/>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
